<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>管理后台</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link href="/favicon.ico" type="image/x-icon" rel="shortcut icon" />
    <!-- Bootstrap 3.3.4 -->
    <link href="/public/admin/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="/public/admin/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="/public/admin/css/animate.css" rel="stylesheet">
    <link href="/public/admin/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="/public/admin/css/style.css?v=4.0.0" rel="stylesheet">
    <link href="/public/admin/css/ratuo.css" rel="stylesheet">

    <script src="/public/admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="/public/admin/js/bootstrap.min.js?v=3.3.5"></script>
    <script src="/public/admin/js/common.js"></script>
    <script src="/public/admin/js/plugins/layer/layer.min.js"></script>
    <script src="/public/admin/js/myAjax.js"></script>
    <script src="/public/admin/js/jquery.validate.js"></script>

    <link href="/public/admin/css/plugins/iCheck/custom.css" rel="stylesheet">
    <script src="/public/admin/js/plugins/iCheck/icheck.min.js"></script>

    <script src="/public/admin/js/article.js"></script>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>{$title}</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="box">
                                <div class="box-header">
                                    <div class="panel-body">
                                        <form id="formSearch" method="get" action="{:url('Card/pointList')}" class="form-horizontal form-inline">
                                            <label class="control-label">{:lang('key_word')}：</label>
                                            <input type="text" placeholder="{:lang('key_word_title')}" name="keyword" id="keyword" value="{$keyword}" class="form-control">
                                            <button type="submit" style="margin-left:30px" class="btn btn-primary">{:lang('query')}</button>
                                            <button onclick="window.location.href=location.href;"  class="btn btn-primary " style="float: right; margin-top: 10px;margin-right:10px;"><i class="glyphicon glyphicon-refresh"></i>{:lang('refresh')}</button>
                                            <button onclick="openYemian('/index.php/Admin/Card/point',`{:lang('add')}`)" type="button" class="btn btn-primary" style="float: right;margin-right:10px; margin-top: 10px;"><i class="fa fa-plus"></i>{:lang('add')}</button>
                                        </form>
                                    </div>
                                </div>
                                <div class="box-body">
                                    <div class="row">
                                        <div class="col-sm-12">
                                            <div id="ajaxList">
                                                <form method="post" enctype="multipart/form-data" id="form-order">
                                                    <table class="table table-bordered table-hover">
                                                        <thead>
                                                        <tr>
                                                            <th style="width: 1px;"><input type="checkbox" onclick="$('input[name*=\'ids\']').prop('checked', this.checked);"></th>
                                                            <th>卡点名称</th>
                                                            <th>绑定点</th>
                                                            <th>{:lang('operation')}</th>
                                                        </tr>
                                                        </thead>
                                                        <tbody id="ajaxList">
                                                        {if empty($list)}
                                                        <tr>
                                                            <td colspan="7" align="center">{:lang('no_data')}</td>
                                                        </tr>
                                                        {/if}
                                                        {foreach name="list" item="vo" key="k" }
                                                        <tr role="row">
                                                            <td><input type="checkbox" name="ids[]" value="{$vo.id}" onclick="attrBg(this)"></td>
                                                            <td>{$vo.name}</td>
                                                            <td>{$vo.point}</td>
                                                            <td>
                                                                <a class="btn btn-primary" href="javascript:;" title="{:lang('edit')}" onclick="openYemian('/index.php/Admin/Card/point/act/edit/id/{$vo.id}',`{:lang('edit')}`)"><i class="fa fa-pencil"></i></a>
                                                            </td>
                                                        </tr>
                                                        {/foreach}
                                                        </tbody>
                                                    </table>
                                                </form>
                                                <div>
                                                    <div style="float:right;margin-top:-20px;" id="pagelist">{$page|raw}<span style="float:right;margin:25px">{$total}{:lang('line')}</span></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input id="handle_status" value="" hidden="hidden">
<input id="kind_id" value="0" hidden="hidden">

</body>

</html>
